package DCSource.Size.Default;

import DCSource.Size.Template.Size;
import DCSource.Size.Template.SizeForm;

public class Exa implements SizeForm{
	private Size value = new Size(0,18);
	public Exa(){}
	public Exa(double value){
		this.value.setValue(value);
	}
	public double getValue(){
		return this.value.getValue();
	}
	public Exa setValue(double value){
		this.value.setValue(value);
		return this;
	}
	public double getIndex(){
		return this.value.getIndex();
	}
	public Exa add(double value){
		this.value.add(value);
		return this;
	}
	public Exa multi(double value){
		this.value.multi(value);
		return this;
	}
	public Exa sub(double value){
		this.value.sub(value);
		return this;
	}
	public Exa div(double value){
		this.value.div(value);
		return this;
	}
	public Exa pow(double value){
		this.value.pow(value);
		return this;
	}
	public Exa nsqrt(double value){
		this.value.nsqrt(value);
		return this;
	}
	public double getPower(){
		return this.value.getOrginsPower();
	}
	public Exa undoPower(){
		this.value.undoPower();
		return this;
	}
	public String getName(){
		return "Exa";
	}
	public String getTag(){
		return "E";
	}
	public String toString(){
		return this.value.getValue()+this.getTag();
	}
}
